#!/bin/bash
day=$1
if [ -z $day ]; then
    day=`date -d last-day +%Y%m%d`
fi
python format_url.py $day
echo "format url finished"
python pvLoadToDb.py $day
echo "load finish"
